TaskObservableMethodBuilder.AwaitOnCompleted(TAwaiter, TStateMachine) method¶
Defined in
Type: TaskObservableMethodBuilderSystem.Runtime.CompilerServices
Assembly: System.Reactive.dll
Applies to
netstandard2.0
public void AwaitOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : INotifyCompletion where TStateMachine : IAsyncStateMachine
Summary: Schedules the state machine to proceed to the next action when the specified awaiter completes.
Type parameters
| Name | Description |
|---|---|
TAwaiter | The type of the awaiter. |
TStateMachine | The type of the state machine. |
Parameters
| Name | Type | Description |
|---|---|---|
ref awaiter | TAwaiter | The awaiter. |
ref stateMachine | TStateMachine | The state machine. |